Procedure Backtracking Points and Variable Ages in an Intelligent Backtracking Schema
نویسنده
چکیده
We present a new method to represent variable bindings in the Warren Abstract Machine (WAM), so that ages of variable bindings can be easily found using this new representation in our intelligent backtracking schema. The age of a variable bound to a non-variable term will be the youngest choice point such that backtracking to that choice point can make that variable an unbound variable again. In other words, the age of a variable bound to a non-variable term will be the age of the youngest one of bindings causing that variable to be bound to that non-variable term. The procedure backtracking point is the choice point of the procedure being currently executed or the choice point of its rst ancestor having a choice point. Variable ages and procedure backtracking points are used in the process of guring out backtracking points in our intelligent backtracking schema. Our intelligent backtracking schema performs much better than results of other intelligent backtracking methods in the literature for deterministic programs, and its performance for non-deterministic programs are comparable with their results.
منابع مشابه
Variable Ages In A WAM Based System
We present a new method to represent variable bindings in the Warren Abstract Machine WAM so that ages of variable bindings can be easily found using this new representation The age of a variable bound to a ground term will be the youngest choice point such that backtracking to that choice point can make that variable an unbound variable again In other words the age of a variable bound to a gro...
متن کاملSelecting Choice Points in An Intelligent Backtracking Schema
We present a runtime intelligent backtracking method for prolog programs to avoid redundant failures The method presented in this paper selects the best choice point as a backtracking point during the failure of a procedure call to avoid the same failure The chosen backtracking is the best choice point that can be determined in runtime during execution of a goal without a further analysis The m...
متن کاملFinding Connict Sets and Backtrack Points in Clp(<)
This paper presents a method for intelligent backtracking in CLP(<). Our method integrates a depth-rst intelligent backtracking algorithm developed for logic programming with an original constraint satisfaction algorithm which naturally generates sets of connicting constraints. We prove that if CLP(<) is assumed to cover strictly the domain of real numbers, then the constraint satisfaction algo...
متن کاملFinding Con ict Sets and Backtrack Points in CLP
This paper presents a method for intelligent backtracking in CLP Our method integrates a depth rst intelligent backtracking algorithm developed for logic programming with an original constraint satisfaction algorithm which naturally generates sets of con icting constraints We prove that if CLP is assumed to cover strictly the domain of real numbers then the constraint satisfaction algorithm pro...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007